#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<iostream>
using namespace std;

class date
{
public:
	date(int year, int month, int day)
	{
		this->_year = year;
		this->_month = month;
		this->_day = day;
	}
	void Print()
	{
		cout << this->_year << " " << this->_month << " " << this->_day << endl;
	}
private:
	int _year;
	int _month;
	int _day;
};


int main()
{
	
	date d1(2023, 5, 13);
	date d2(2024, 5, 13);
	d2 = d1;
	date d3 = d1;
	d1.Print(); 
	d2.Print();
	d3.Print();
	return 0;
}